
.container {
    padding: 20px;
}

.div1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.div2 {
    width: 280px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.div2:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.div3 {
    margin: 10px 0;
}

.p1 {
    font-size: 14px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p2 {
    font-size: 12px;
    color: #999;
    margin: 5px 0;
}

.p3 {
    color: #f40;
    font-size: 16px;
    font-weight: bold;
}

.buyButton {
    width: 100%;
    padding: 8px;
    background-color: #f40;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.buyButton:hover {
    background-color: #f50;
}